import request from '@/utils/request'

// 查询拼单商品订单管理列表
export function listList_order(query) {
  return request({
    url: '/ui/list_order/list',
    method: 'get',
    params: query
  })
}

// 查询拼单商品订单管理详细
export function getList_order(listorderId) {
  return request({
    url: '/ui/list_order/' + listorderId,
    method: 'get'
  })
}

// 新增拼单商品订单管理
export function addList_order(data) {
  return request({
    url: '/ui/list_order',
    method: 'post',
    data: data
  })
}

// 修改拼单商品订单管理
export function updateList_order(data) {
  return request({
    url: '/ui/list_order',
    method: 'put',
    data: data
  })
}

// 删除拼单商品订单管理
export function delList_order(listorderId) {
  return request({
    url: '/ui/list_order/' + listorderId,
    method: 'delete'
  })
}
